fix(header): add genui-sdk of docs and playground#84
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughAdds two GenUI-SDK menu entries to the header configuration file. One entry appears in the "演练场" (Playground) section and another in the "开发文档" (Development Documentation) section, each with corresponding links and metadata. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@James-9696 顺序上建议放 NEXT-SDK 后面,保持一致。 |
已修改 |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
packages/common/src/config/header.ts (1)
108-122:⚠️ Potential issue | 🟡 MinorDuplicate NEXT-SDKs entry in the Playground section.
Lines 108–115 already define a NEXT-SDKs playground item (with
hide: true), and lines 116–122 add an identical one withouthide. This will render two NEXT-SDKs entries — one hidden and one visible. You likely intended to replace the old entry rather than add a second one.Proposed fix: remove the old hidden entry
{ title: 'TinyRobot', desc: '智能助手', href: 'https://playground.opentiny.design/tiny-robot', logo: tinyRobot, github: 'https://github.com/opentiny/playground' }, - { - title: 'NEXT-SDKs', - desc: '开发套件', - href: 'https://playground.opentiny.design/next-sdk', - hide: true, - logo: tinySdks, - github: 'https://github.com/opentiny/playground' - }, { title: 'NEXT-SDKs', desc: '开发套件', href: 'https://playground.opentiny.design/next-sdk', logo: tinySdks, github: 'https://github.com/opentiny/playground' },
Summary by CodeRabbit